body {
  background: #efefef;
}

#root { padding: 40px 20px; }

.component-documentation {
  margin: 0 auto;
  max-width: 800px;
}

.playground {
  margin: 10px auto;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
  border-radius: 5px;
  overflow: hidden;
}

.playgroundCode .CodeMirror{

}

.playground.collapsableCode .playgroundCode {
  height: 0;
  overflow: hidden;
}

.playground.collapsableCode .playgroundCode.expandedCode {
  height: auto;
}

.playgroundToggleCodeLink {
  cursor: pointer;
  font-family: monospace;
  position: relative;
  right: 0;
  display: inline-block;
  padding: 5px;
}

.playgroundToggleCodeLink:hover {
  color: #aaa;
}

.CodeMirror {
  padding: 10px;
}

.playgroundPreview {
  background: white;
  padding: 10px;
  overflow: auto;
}

.playgroundError {
  padding: 10px;
  font-size: 12px;
  color: white;
  background: #F2777A;
}
